package com.hotel.reservation.service;


import com.hotel.reservation.po.ReservePo;

import java.util.List;
import java.util.Map;

/**
 * service层
 *
 * @author itar
 * @email wuhandzy@gmail.com
 * @date 2021-07-25 05:32:58
 * @since jdk 1.8
 */
public interface ReserveService {
    ReservePo selectById(String id);
    List<ReservePo> selectAll();
    int insertInfo(ReservePo info);
    List<ReservePo> selectByRoomId(String roomId);//按房间号查询
    Integer deleteByRoomId(int reserveId);//按订单号删除订单
    List<ReservePo> selectAllReserveByPage(Map<String,Object> map);

}
